-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: TestCodegenConfigurations projects should fail on warnings #198
tests: TestCodegenConfigurations projects should fail on warnings #198
Conversation
✅ Deploy Preview for eclectic-pie-88a2ba canceled.
|
As expected the SPM-based test codegen configurations are now failing with the warnings being treated as errors. The next commit will remove the warning and they should then pass CI. |
..and the test codegen configurations job is now passing, as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for doing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure at all what to do about the Xcode based projects, but this LGTM for the SPM ones.
Fixes apollographql/apollo-ios#3301.
I don't know when this stopped working in our test configuration projects but this behaviour is essential to avoid exposing inconvenience warnings to users projects.
I can't find any mention of why the
unsafeFlags
configuration no longer works but I do prefer that the flag is now set on the test script command which is more explicit to the workflow we want for the test - reference.I haven't managed to get the behaviour back for Xcode-based projects yet though.